/*
* @author duan
* 外盒子设置
*/
@mixin setBox($w:auto,$h:auto,$p:27px 11px 0 27px,$bgc:#fff){
  width:$w;
  height:$h;
  padding:$p;
  background-color:$bgc;
  margin-bottom:27px;
  @content;
}
// 背景图
@mixin background($imgUrl,$bgc: $base-color,$size:cover,$repet:no-repeat,$position:center) {
  background: url($imgUrl) $repet $position;
  background-size: $size;
  background-color:$bgc;
}
// 盒子基础设置
@mixin boxBase($w:100%,$h:100%,$r:null,$bg:null){
  width: $w;
  height: $h;
  @if $r{
    border-radius: $r;
  }
  @if $bg{
    background-color: $bg;
  }
}
// 字体基础属性
@mixin fontBase($fz,$cor,$fw:null){
  font-size: $fz;
  color: $cor;
  @if $fw{
    font-weight: $fw;
  }
}

// 短线条
@mixin  shortLine($w:3px,$h:11px,$bc:#007AFF){
  position: relative;
  &::after{
    content: '';
    width: $w;
    height:$h;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: $bc;
  }
}
